He probably decided to go rogue. Or maybe Donquixote wanted to keep his personas as separate beings, so Law was with Joker, not Doflamingo.