Problem with trackgoal and visit count

I have the same problem, but i cant fix it. I cant create new thread coz they goes on moderation for 1 weak or something.
The problem is - When piwik tracking my custom goals, he duplicate/triggering visits for each goal. One visit is displayed as four or five for example. I dont know why piwik separate them. Should be one visit and it should all of these goals is.


<head>

<script src="flash.js"></script>
<!-- Piwik -->
<script type="text/javascript"> 
  var _paq = _paq || [];
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://site.ru/stats//";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', 1]);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript';
    g.defer=true; g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  })();
   </script>
   <script type="text/javascript">


  //// REFERRER 

  
  if (document.referrer != null)
  {
 _paq.push(['trackGoal', 10]);
   }
//////////// 
   
//// JAVA    
   if (navigator.javaEnabled())
{
 _paq.push(['trackGoal', 12]);
}
////////   

  
///// COOKIE
if (document.cookie.length > 0)
{
 _paq.push(['trackGoal', 13]);
}

//// 
///// FLASH
if(FlashDetect.installed){
 _paq.push(['trackGoal', 14]);
}
/////
/// PROXY
<?php
include('proxy.php');
 $myProxy = new proxyCheck(); 
 $myProxy->serverVar = $_SERVER; 
 $headers = $myProxy->checkHeder(); 
if ( isset($headers['HTTP_X_FORWARDED_FOR']) || isset($headers['HTTP_VIA']) ) {
 echo ' _paq.push([\'trackGoal\', 16]); ';
}
?>
////

</script>

<noscript><p><img src="http://site.ru/stats/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Code -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> 

</head>
<body>

<script>

$('body').click(function() {
     _paq.push(['trackGoal', 15]);
});
$('body').mouseover(function() {
 _paq.push(['trackGoal', 11]);
});
</script>

</body>

Forget about screenshot: http://imglink.ru/pictures/08-04-14/78bc3cae35c1d638ea988a1f484a0f62.jpg

Forget about screenshot: http://imglink.ru/pictures/08-04-14/78bc3cae35c1d638ea988a1f484a0f62.jpg

please can you try upgrade to 2.2.0 rc release which has fixed an issue related to this (Edge case: page view and ecommerce conversion tracked in the same second create wrong visitEcommerceStatus · Issue #4909 · matomo-org/matomo · GitHub )