Index: django/template/defaulttags.py
===================================================================
--- django/template/defaulttags.py	(revision 8271)
+++ django/template/defaulttags.py	(working copy)
@@ -792,7 +792,7 @@
     for taglib in bits[1:]:
         # add the library to the parser
         try:
-            lib = get_library("django.templatetags.%s" % taglib.split('.')[-1])
+            lib = get_library("django.templatetags.%s" % taglib)
             parser.add_library(lib)
         except InvalidTemplateLibrary, e:
             raise TemplateSyntaxError, "'%s' is not a valid tag library: %s" % (taglib, e)
