Other people have mentioned a lot of helpful hints. Here are a few new ones (and a few old ones repeated because they're good):
1. Support your NPCs. At 17th level, it's nothing for a group of NPCs to have a 7th (or even a 12th level) cleric supporting them. Similarly, an 8th level bard is hardly noticable in your EL calculations. However, a recitation spell for +3 to hit (your NPCs will be the same religion as the cleric) and a bardsong for +2 to hit (+3 if you use inspirational boost) will help a lot.
(12th level orc barbarian: base strength 15 +4 race +3 level= 22 strength, +6 for greater rage=28. Attack bonus: +12 BAB, +9 strength, +1 weapon Focus, +3 weapon (said 12th level cleric ally cast greater magic weapon on his sword)=+24 base. With recitation and a +3 bardsong, that's +30 to hit. Let's say someone cast haste on him. +31/+31/+26/+21. Not bad. If he's flanking... +33/+33/+27/+22. Let's say he jumped on a rock, table or other piece of set dressing to get a higher ground bonus too. +34/+34/+28/+23. That's pretty good odds to hit the PCs.
2. When you can't hit a character because of a shield... sunder the shield. Sundering a shield is an opposed attack roll and that's much easier to succeed at than hitting ACs like your characters have.
3. Don't forget to trip and grapple the PCs. And hit them with tanglefoot bags, waves of exhaustion, and/or curse of impending blades.
4. And if their AC comes from spells, PHB II's Chain Dispelling and Spell Compendium's Reaving Dispel are both great additions to the mix.