If it's only a few circuits that need to be done, I usually just splice on a length of THHN with a wirenut to extend the conductor.

If there are a lot of cables that are going to be too short, I land them into a separate J-box or short length of wireway next to the panel, and feed this box through a short nipple from the panel, making the splices inside the J-box.