The Wild took a 2-1 lead when Eriksson Ek scored his second power-play goal of the game at 17:37 of the middle frame when his pass from the right goal line deflected into the net.
Mats Zuccarello gave Minnesota a 3-1 lead at 15:08 of the third period when his pass from the left doorstep deflected into the net.
The Wild took a 4-1 lead at 16:38 of the third period when Matt Boldy scored a shorthanded empty-net goal.
With the Avs' net empty, Necas made it 4-2 at 19:03 of the third period with his second goal of the game and 25th of the season via a left-circle one-timer set up by MacKinnon.
Boldy gave the Wild a 5-2 lead with an empty-net goal at 19:28 of the third period.