Updated

Arizona was clinging to a one-run lead with the bases loaded and one out in the ninth inning.

Oh, and closer J.J. Putz was unavailable.

So Arizona turned to rookie left-hander Joe Paterson, who shut down Minnesota and denied the Twins a comeback victory that would have seemed so appropriate to honor Hall of Famer Harmon Killebrew.

"It was a tight situation," Paterson said. "We just needed something to go our way right there and I'm glad it did."

Ryan Roberts doubled in three runs for the Diamondbacks in their fourth win in a row and sixth in seven games. The last three have each been by one run after the team lost six consecutive one-run games on their most recent road trip.

Paterson struck out Jason Kubel looking, then got Justin Morneau to ground out for a save in his first career opportunity.

"I was just trying to get something up to hit in the outfield but that ball kind of stayed down and fooled me, too," Kubel said. "You still want to win but it was a good sign to keep going along and make it interesting and make it close. The guys really beared down at the end, except for myself, and almost made it happen."

The near-miss capped an emotional day for the Twins, who earlier attended Killebrew's funeral at a suburban north Phoenix church. The crowd was sprinkled with posters honoring the Minnesota slugger and an in-game tribute brought a standing ovation.

The Twins had Killebrew's jersey hanging in their dugout.

Roberts' bases-clearing double to left-center off reliever Glen Perkins highlighted a five-run seventh that erased Minnesota's 2-1 lead. Twins starter Brian Duensing (2-4) faced four batters in the inning without getting an out.

Roberts also made one of a handful of standout defensive plays for the Diamondbacks, a diving stop to his right at third base. He threw from foul territory and first baseman Xavier Nady scooped up the throw for the out.

"We've been playing really good defense," manager Kirk Gibson said. "When you look at a game, you tend to look at just the hitting part of it and the pitching part of it but we took care of the ball very well tonight, and Minnesota, give them credit, they didn't give in."

Ian Kennedy (5-1) went 7 2-3 innings to get the victory. Paterson has not allowed a run in the first 19 appearances of his major league career, a franchise record.

Michael Cuddyer, Trevor Plouffe and Danny Valencia hit solo home runs for the Twins. Valencia's shot came in the ninth off Juan Gutierrez to cut the lead to 8-5. David Hernandez relieved Gutierrez and gave up an RBI double to Drew Butera, then walked three in a row, the last with the bases loaded to make it 8-7.

That brought in Paterson to face two lefties, Kubel and Morneau. Kubel was called out looking. Second baseman Kelly Johnson chased down Morneau's grounder, then threw to Paterson covering first for the final out. Paterson has not allowed a run in 19 outings this season, a franchise record for a pitcher to start his career.

"We've brought him along slow," Gibson said. "The last time I took him out, he said 'I wanted to stay in.' We found out tonight, didn't we? He was very composed, took his time, threw strikes."

Stephen Drew's home run tied it at 2 leading off the seventh, then Chris Young doubled and scored on Xavier Nady's single to put Arizona up for good 3-2 after Duensing cruised through six. Arizona went on to load the bases for Roberts, who doubled to make it 6-2.

Each team scored twice in the eighth, giving Arizona its four-run cushion going into the ninth.

Johnson, who has been in a season-long slump, singled, doubled and drove in two runs.

At least, Duensing said, the offense is coming around for Minnesota.

"We put up enough runs to win today. It is good to see them stick with it, especially in the last inning," he said. "I think our hitting is starting to click so I think it's up to our pitchers to keep things in check."

NOTES: The Twins and Diamondbacks had not met since 2005. ... Willie Bloomquist started in LF for Arizona, the first time he has played since going on the disabled list with a strained right hamstring April 22, and made a leaping grab to rob Denard Span of an extra-base hit in the third. ... Cuddyer, Morneau and reliever Joe Nathan, as well as manager Ron Gardenhire, were pall bearers at Killebrew's funeral.