You could probably just set a variable on the page that contains the plugin, then add a check to plugin pages.
So if you were to add to the original page:
<?php
$includedOnPage = true;
?>
then you could include in each plugin:
<?php
if (!isset($includedOnPage)) die();
?>
That would prevent the plugin from being viewed directly.