The world number two took his run to 36 straight wins this year and will face world number one Rafael Nadal, who beat Richard Gasquet 7-5, 6-1, in the final in what will be a repeat of last week's Madrid Masters title match which Djokovic won.
But it was Djokovic, struggling with a leg problem, who demonstrated just why he has proved so hard to beat with a never-say-die attitude even when Murray was just two points from victory serving at 5-4 in the decider.
But the Serb admitted he faces a race against time to be fit to play Nadal.
"I'll do what I can, I have a team of people who will do their utmost to get me ready, there's not much time but we'll see how I play," he said.
"The important thing will be whether I'm fit or not, that will play an important role so we'll see how fit I am."
Murray, who turns 24 on Sunday, said: "I played my best tennis against the best player in the world at the moment.
"It's always very physical against Novak because he moves well.
"I had chances to win and probably should have done."
Just as he had done in the quarter-final against Florian Mayer, Murray started very slowly and the only game he won was when he broke Djokovic in a marathon third game.
However a change of shirt, from white to blue, brought with it a change of fortunes.
In the first set Djokovic had been finding the corners and running Murray ragged around the back court before dropping little slices just over the net and out of his reach.
But in the second Murray found a way to stay in points for longer, to make Djokovic play more shots and errors started to creep into the Serbian's game.
The sixth game was the crucial one where both players showed signs of nerves but it was Djokovic who cracked, hitting a forehand long on break point.
In the decider Djokovic drew first blood, breaking in the fourth game but that proved only the prelude to five breaks in six games that saw Murray turn the match on its head and lead 5-4 with his serve to come.
Three times Murray was two points from victory but he could not take the extra step and a double fault made it 5-5 and a sixth break in seven.
Finally both held serve and it went to a tie-break where a Murray error handed Djokovic a mini-break and then when the Serbian passed the Scot at the net, he took a 5-1 lead.
There was no way back for Murray and Djokovic sealed victory when the Scot failed to return a drop shot.
Nadal took an 8-0 record against Gasquet into their match and the world number one survived some nervous moments in the first set before completing a comprehensive win with a lop-sided second set.
It took the Spanish 24-year-old's record at this tournament to 31 wins and just one loss - in 2008 against Juan-Carlos Ferrero - as he aims for a sixth title in seven years.
Having suffered from a fever earlier in the week, Nadal showed no ill effects against Gadquet.
But having lost three times to Djokovic in Masters finals this year, including last week on the clay in Madrid, he insists he will not be favourite on Sunday.
"There will probably be less pressure on me than before because I'll lose the favourite status and be able to play without 100 per cent pressure," he said.
"I'll try my best and fight. If someone is better than you then you try to find solutions to find that level."
Despite how the match finished, Gasquet was far from disappointed with his efforts.
"I played extremely well in the first set but I didn't get the break. I was on court for one hour in the first set and it's difficult.
"I was really at a very high level but he hits hard, he served well and I've got nothing to reproach myself about.
"I played very well."
-AFPTags: sport, tennis, italy First posted May 15, 2011 06:52:00