That could be a couple things;
firstly, your design software? If this was in illy, you could always use the pathfinder tool to combine the two squares into one path? I haven’t tried but it would be pretty manual.
Secondly, file. If saving as EPS make sure you have convert all strokes to...