I'm actually beginning to think that's one of those "beam me up, Scotty"/"Play it again Sam" lines...the ones that never actually were said. I did some Googling and the closest lines I can find are:
SCOTT: Coming, sir. If I push these impulse engines too hard in the condition they're in, they'll blow apart.
--The Doomsday Machine
KIRK: Full power to the shields, Mister Scott.
SCOTT: Giving them all we got.