An idea to solve that is to use ClientScript and disable the scripts that you want to avoid. To do that automatically and globally, you can use a custom controller like this:

# components/MyController.php 
<?php
abstract class MyController extends CController {
public function beforeAction(){
if( Yii::app()-&gt;request-&gt;isAjaxRequest ) {
Yii::app()-&gt;clientScript-&gt;scriptMap['jquery.js'] = false;
Yii::app()-&gt;clientScript-&gt;scriptMap['jquery-ui.min.js'] = false;
}
return true;
}
}