Rogues are more than just Sneak Attacks. They are NOT front-line fighters. The rogue in my game found the best solution was to be what we now refer to as a 'monkey wrench'....specifically the one thrown in the works to break the machine.
The rogue can't do the most damage...and if they've built themselves around that purpose, they're going to be disappointed from time to time. They can Aid to Attack, they can flank while on Total Defense, they can produce items and effects that the other players either don't have or wouldn't normally use.
Do that rogue have Tanglefoot bags? Thunderstones? Ghost-touch weapons? Alchemist's fire? Acid? Silvered weapons? Holy Water flasks? How about a wand.
Even without a good UMD skill, the rogue can be very capable in combat and a real team player. WITH UMD, there's no telling what they might do. With just a few scrolls, the rogue can be a total wild card in battle. With a wand or two on the belt, options are open. Emergency Healer? Check. Battlefield control? Check. Buff-caster? Check. And so forth.
The rogue can play many roles. Hogging the spotlight is rarely one of them.