Do you have ring/socket bayonets? I'm guessing you need them (or at least affix plug bayonets) before going into a square formation. I honestly don't know. I've had the same problem early in my Prussia game, but never later on in the campaign.