the only thing you MAYBE would need to alter is the follower, and if you mess it up beyond use...they are cheap to replace.
Still, it would be easier to find another one online and keep the 5 rounder intact. Heck, you could probably even find someone to trade you strait up for a 10 round mag in the same pattern.