Is it possible to use the latest jQuery with the latest jQueryUI?

Is it possible to use the latest jQuery with the latest jQueryUI?

I'm using jQuery UI 1.11.4 and this zipfile comes with jQuery v1.10.2. I replaced this old version with jQuery v2.2.4. I didn't notice any problem with our application. Am I risking something with using the latest stable version of jQuery?