Control of the production of highly charged ions in femtosecond-laser cluster fragmentation