"This was nice to have, especially after three or four bad outings in a row," Wells said.
Wells (18-5) equaled his career high in wins, previously done in 1998 with the New York Yankees. The 18 wins are the most by a Blue Jays left-hander.
Despite the win, the 37-year-old Wells is 3-3 with a 6.40 ERA in eight outings since starting the All-Star game.
The Blue Jays began the day four games back of the Boston Red Sox and Oakland Athletics in the AL wild-card race.
Wells allowed three runs on nine hits for his AL-leading seventh complete game of the season. He walked none and struck out seven.
"This was vintage David Wells," Fregosi said. "He gave up a couple of runs early, but then he came back and pitched really well."
Wells has 11 walk-free games this season, and has issued just 28 bases on balls.
Down 3-1 in the seventh, the Blue Jays rallied with three runs.
After Minnesota starter Eric Milton issued lead-off walks to Craig Grebeck and Alberto Castillo, Hector Carrasco (3-3) relieved and Shannon Stewart followed with an RBI single. Alex Gonzalez followed with a sacrifice bunt, advancing Castillo and Stewart into scoring position.
Catcher Danny Ardoin's passed ball tied it, and Jose Cruz's RBI single past a drawn-in infield gave Toronto a 4-3 lead.
"Once he got the lead, Wells became unhittable," Minnesota's Denny Hocking said.
Milton gave up three runs on six hits in six-plus innings.
The Blue Jays added two runs in the eighth on Todd Greene's solo homer, and Stewart's RBI grounder.
"I just made some flat pitches in the first inning and they were all over it," Wells said. "I didn't look too good for a while, but I settled down."
The Twins made it 3-0 when Ortiz grounded into a double play in the third.
Toronto got a run back in the fifth when Gonzalez singled in Greene.
©2000 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed