Clashing files (i guess)

Clashing files (i guess)

Hi all
Im just wondering if someone could point me in the correct direction to solve this problem, I have two pieces of jQuery functionality working ok "seperately":

1 Dialog - for which these files were already included - files prob a year old
<script type="text/javascript" src="$siteRoot/Content/js/jquery.js"></script>
<script type="text/javascript" src="$siteRoot/Content/js/jquery-ui-personalized.min.js"></script>
<script type="text/javascript" src="$siteRoot/Content/js/timetracker.js"></script>
<script type="text/javascript" src="$siteRoot/Content/js/jquery.form.js"></script>

2 Sortable -  for which I included the following scripts - new versions of files
<script language="JavaScript" src="$siteRoot/Content/js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="$siteRoot/Content/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="$siteRoot/Content/js/ui.core.js" language="JavaScript"></script>
<script type="text/javascript" src="$siteRoot/Content/js/ui.sortable.js"></script>

but when i tried to test the dialog after including my scripts to get Sortable working i get the following error
      $("#task-dialog").dialog is not a function
      function() { doc.trigger('dialog:closed'); }

so to get the Dialog working again I removed the references to the jquery-ui-1.7.2.custom.min.js and jquery-1.3.2.min.js but this stops Sortable working then, so basically im just wondering where to start to identify what the problem is with these files.

Thanks in advance
Tim